package com.bsoft.advance.client.transport;

public class RpcTransportFactory {

    private static RpcRequestTransport defaultTransportInstance;
    /**
     * 获取默认传输实例
     * @return
     */
    public static RpcRequestTransport getDefaultTransportInstance() {
        if (defaultTransportInstance == null) {
            defaultTransportInstance = new NettyRpcTransport();
        }
        return defaultTransportInstance;
    }
}
